<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->request->baseUrl . "/js/jquery.placeholder.js", CClientScript::POS_HEAD); ?>
<?php $this->beginContent('//layouts/header'); ?> <?php $this->endContent(); ?> 
<?php $this->beginContent('//layouts/mainnav'); ?> <?php $this->endContent(); ?> 
<?php echo $content; ?>
<?php if (!Yii::app()->user->isGuest): ?>
    <script>
        $(document).ready(function() {
            ajaxGet('.store-list-box', 'getUserCart', 'account', 'html');
        });
    </script>
<?php endif; ?>
<?php $this->beginContent('//layouts/cartbottom'); ?> <?php $this->endContent(); ?>
<?php $this->beginContent('//layouts/footer'); ?> <?php $this->endContent(); ?>   
